<h4>Berita Akademik</h4>

<table>
    <?php 
        $nomor = 0;
		foreach($rslt_berita->result() as $v_berita)
		{
			$nomor++;
			if($nomor % 2 == 1  )
			echo '<div class="one_half first">';
			else
			echo '<div class="one_half">';
			if($v_berita->gambar != '')
			echo '<div class="boxholder push20">'.image_thumb('data/gambar/'.$v_berita->gambar, 450, 450).'</div>';
			echo '<h2 class="nospace">'.$v_berita->judul.'</h2>';
			echo '<div class="blog-post-meta"><ul><li class="blog-post-date">';
			echo '<time datetime="'.$v_berita->tanggal.'">waktu posting : '.date('d', strtotime($v_berita->tanggal)).'<sup>'.date('S', strtotime($v_berita->tanggal)).'</sup> '.bulan_indo(date('n', strtotime($v_berita->tanggal))).' '.date('Y', strtotime($v_berita->tanggal)).'</time>';
			echo '</li></ul></div>';
			
			echo '<p>'.character_limiter($v_berita->berita_isi, 120).'</p>
			<footer><a href="'.site_url('berita_akademik/isi_berita/'.$v_berita->id).'">Baca Selengkapnya..</a></footer>';
			echo '</div>';
		}
        if($rslt_berita->num_rows() == 0)
        {
            echo '<p><center><i>-Data tidak ditemukan-</i></center></p>';
        }
    ?>
</table>